package day240322.OverrideRule;

public class Person {
    //state
    String name;
    int age;

    //behavior
    String eat1() {
        System.out.println("eat");
        return "0";
    }

    Student eat2() {
        Student student = new Student();
        System.out.println("eat");
        return student;
    }

}
